#pragma once

#include "AbstractLock.h"
#include <QProcess>
using namespace std;

class DLLWrapper : public AbstractLock
{
public:
	DLLWrapper();
	~DLLWrapper();

	bool init(QString name);
	virtual Json::Value DealCommand(QString cmd,Json::Value &param);

private:
	QString writeCommand(QString text);

	QProcess m_process;
};